Skip to content

Set real uid to effective uid.#10

Open
iandall wants to merge 1 commit intoNVIDIA:mainfrom
iandall:real_uid
Open

Set real uid to effective uid.#10
iandall wants to merge 1 commit intoNVIDIA:mainfrom
iandall:real_uid

Conversation

@iandall
Copy link
Copy Markdown

@iandall iandall commented Apr 23, 2025

Modprobe may be configured to use shell scripts. Shells set euid to ruid to protect against setuid shell scripts. so we need to set ruid = euid before spawning modprobe.

Modprobe may be configured to use shell scripts. Shells set euid to
ruid to protect against setuid shell scripts. so we need to set ruid =
euid before spawning modprobe.
@iandall
Copy link
Copy Markdown
Author

iandall commented Apr 23, 2025

Modprobe permits custom install commands, where the command may be a shell script. I appreciate that this is not a standard configuration, but I find it useful in switching between different driver versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant